<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>12-判断是否是非数字类型</title>
	</head>
	<body>
		<script type="text/javascript">
			//isNaN返回2个值true或者false
			var price = 2000;
			//将isNaN得到的值赋值给flag变量
			var flag = isNaN(price);
			alert(flag);
			
			
		
			
			
		</script>
	</body>
</html>
